import { User } from "../entity/User";
import { addUser } from '@/m_req/User'
import { res } from "@/utils/jsonResult";
import { User as UserType } from "@/m_res/user";
export interface userService {
    GetAlluser():Array<User>
    GetOneuser(id:number):Promise<res<User | null>>
    addUser(params: addUser): Promise<res<null>>;
    Login(params: addUser): Promise<res<UserType | null>>;
    GetOneUser(id: number): Promise<res<UserType | null>>;
}